<template>
  <div class="box">
    <el-form :model="form" label-width="120px">
      <el-form-item label="用户名">
        <el-input v-model="form.name" />
      </el-form-item>
      <el-form-item label="密码">
        <el-input v-model="form.pass" />
      </el-form-item>
    </el-form>
  </div>
</template>
<script>
import { ref, reactive, toRefs } from "vue";
import { useStore } from "vuex";
import { useRouter, useRoute } from "vue-router";
export default {
  setup(props, ctx) {
    const store = useStore();
    const router = useRouter();
    const route = useRoute();
    const data = reactive({});
    const form = reactive({
      name: "",
      pass: "",
    });
    return { ...toRefs(data), form };
  },
};
</script>

<style lang='scss'>
  
</style>
